#include "pch.h"
#include "Game.h"

void Game::Initialize(CoreApplicationView^ AppView)
{
	AppView->Activated += ref new TypedEventHandler
		<CoreApplicationView^, IActivatedEventArgs^>(this, &Game::OnActivated);
}

void Game::SetWindow(CoreWindow^ Window)
{

}

void Game::Load(String^ EntryPoint)
{

}

void Game::Run()
{

}

void Game::Uninitialize()
{

}

void Game::OnActivated(CoreApplicationView^ CoreAppView, IActivatedEventArgs^ Args)
{
	CoreWindow^ Window = CoreWindow::GetForCurrentThread();
	Window->Activate();
}

IFrameworkView^ GameFactory::CreateView()
{
	return ref new Game();
}